package entitys;

import java.io.Serializable;

public class ProductInType implements Serializable {

	private int productid;
	private int typeid;
	private int categoryid;
	
	public ProductInType(int productid, int typeid, int categoryid) {
		this.productid = productid;
		this.typeid = typeid;
		this.categoryid = categoryid;
	}
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public int getProductid() {
		return productid;
	}
	public void setProductid(int productid) {
		this.productid = productid;
	}
	public int getTypeid() {
		return typeid;
	}
	public void setTypeid(int typeid) {
		this.typeid = typeid;
	}
	public int getCategoryid() {
		return categoryid;
	}
	public void setCategoryid(int categoryid) {
		this.categoryid = categoryid;
	}
	
	@Override
	public String toString() {
		return "#"+getProductid()+" - #"+getTypeid()+" - #"+getCategoryid();
	}
	
	
	
}
